# 使用示例
from test.ai_sop_system import AISOPDecisionSystem


def main():
    # 创建系统实例
    system = AISOPDecisionSystem()

    # 运行完整工作流
    try:
        result = system.run_complete_workflow()

        print("\n" + "=" * 50)
        print("🎯 系统执行结果:")
        print(f"决策类型: {result.get('decision_type')}")
        print(f"执行状态: {result.get('status')}")
        print(f"建议操作: {result.get('recommended_actions')}")
        print("=" * 50)

    except Exception as e:
        print(f"❌ 系统执行失败: {e}")


if __name__ == "__main__":
    main()